finally fix everything after upgrade to socket.io 1.0.0