Making sockets in node.js to work with SOCKS proxies