pub async fn recv_ping<S>(stream: S) -> Result<S, Error> where S: AsyncRead + AsyncWrite + Unpin,
Waits for a ping and sends a pong.