googollee/go-socket.io — pull request #10 by rykov (2014-05-07 11:06:14+00:00)
Title: Reuse the URL object to preserve query string, basic-auth, etc

We use a query string parameter to authenticate clients to our Socket.IO server. This change follows the Javascript implementation by preserving query string, basic-auth, and other parts of the server URL when making the initial HTTP and subsequent WebSockets requests.