Support extended SOCKS result codes for onion services
Proposal 304 defines a set of extended SOCKS error codes that we should return when onion services fail in particular ways.
They should be enabled or disabled based on the configuration of a single SOCKS port.