Reconnect wrapper for engine.io-client