Correctly set wss: protocol for secure connections
Emit connection errors properly
Emit connection errors properly
Merge branch 'master' of git://github.com/yourcelf/sockjs-client-node