update to socket.io 1.0.x

This updates the server to use the new socket.io 1.0.x