add support for SOCKS proxying to support Tor and more