Reconnect fix

https://github.com/LearnBoost/socket.io-client/pull/516