pub async fn read_handshake<S>(stream: &mut S) -> Result<(), ProtocolError>where S: AsyncRead + Unpin,
Read and validate the 1-byte handshake response.