pub fn request_handler<T: Send + Sync + Clone + 'static, Req: Handle<N, T>, N: Network>( network: &Arc<N>, stream: BoxStream<'static, (Req, N::RequestId, N::PeerId)>, req_environment: &T, ) -> impl Future<Output = ()> + use<T, Req, N>