socket.io-client compatibility error