socket is disconnected if the handshake is missing before it is passed to express