make it work with socket.io 0.9.16
Merge pull request #3 from laurenceqi/patch-1

make it work with socket.io 0.9.16