Fix socket.io handshake/authorization