socket.io adapter update + tests

Hello, guys. Hope this will help. I updated adapter to use socket.io 1.0 and provided tests for it.