pub async fn to_http_request( req: Request<Incoming>, ) -> Result<HttpRequest, Box<dyn Error + Send + Sync>>