Fixes inability to reconnect as described in pkyeck/socket.IO-obj#76