pub async fn encode_request<B>(req: Request<B>) -> Result<Bytes>where B: Body<Data = Bytes> + Send, B::Error: Error + Send + Sync + 'static,
Encode a hyper Request to MessagePack bytes.