oguzbilgic/socketio — pull request #1 by ianic (2014-02-13 11:06:22+00:00)
Title: Handling secure (https and wss) connections.

I had to connect to the socket.io server over https.
Url in DialAndConnect can now include scheme; http or https.

socket, err := DialAndConnect("https://localhost:12345", "/channel", "key=value")

If https scheme is used websocket connections will use wss scheme.