(extends #1141 (proxy improvements) and #1021 (ipv6 support)
Adds support for running as and connecting to Tor hidden services. *.onion addresses are mapped into the IPv6 range in the same way as OnionCat does.
See doc/Tor.txt for more information.