Fixed the new version of socket.io-client connection.