pub async fn read_proto<R: AsyncReadExt + Unpin>(r: &mut R) -> Result<Proto>
Read a protocol version from the stream.