Fix for SocketIO 1.0

Hey,

First : Thanks a lot for your awesome work !
After cloning your repo, I had a few issues because of SocketIO 1.0 : no socket.get, no socket.set, no socket.clients() :/
I made these modifications and now it seems OK.

Tell me what you think !