fix for version socket.io 1.0