Do you have a client that only speaks HTTP or only knows how to use HTTP proxies, but you need to put them through a proxy that only offers SOCKS, like Tor or SSH?
I've had that. Repeatedly. So here's a lightweight option in Tcl to handle that. It only speaks SOCKS4a, and doesn't distinguish between actual hostnames and IP addresses so hopefully your SOCKS proxy is okay with that.
This is pure Tcl 8.6, though it might be compatible with 8.5 - this is untested.
More docs found in the readme.