Fix for Tor SOCKS proxy usage