Enhanced SOCKS5 Support

Enhanced SOCKS5 Support

Supports HTTP and HTTPS destinations and performs all hostname resolution via the SOCKS proxy, preventing privacy leakage if used with Tor.

Verified to work when the destination url uses an IP address instead of a hostname.
I don't see a reason to pass the IP addresses like that, since the SOCKS5 proxy will be happy with a domain name of '10.0.0.1', etc. What does your change achieve?