I'd like to be able to create a socket.io-client connection from a NodeJS process reusing an existing HTTP agent (like superagent or request) for the initial handshake. Thus, hopefully sending any relevant cookie with the HTTP request for the handshake.
This behaviour I expect is what already happens when socket.io-client is used in the browser and XHR makes the request for a handshake sending existing cookies for the domain/URL.