Update connection handling to be compatible with modern socket.io.
Merge pull request #17 from ygini/master

Update connection handling to be compatible with modern socket.io.