updated for socket.io 1.0.6 updates
updated for socket.io 1.0.6 updates