Socksify windows version of W3C library

I see the W3C library has some code to support socks firewalls, but it 
appears to assume you are running on a unix platform.  

I am building a Windows browser, where can I find the necessary socks 
routines (rconnect(), SocksInit(), etc..) for the windows platform?