LearnBoost/socket.io-client — pull request #643 by mdlavin (2014-03-07 18:37:15+00:00)
Title: Allow providing extra headers in the handshake request

I was trying to test a socket.io server with the socket.io-client module when I wanted to provide some extra headers in the handshake request (for authentication). The attached change worked for my situation.