SOCKSv5 support?

Is there any SOCKSv5 support available in socket.* or network.*? I need to feed my socket requests through a SOCKSv5 server.

In the best of world I could tell the socket and/or network modules to feed all outgoing traffic through a SOCKS5 server under the hood.

Any chance of that?

Cheers
/Joakim