compatible with socket.io-client 1.1.0