pub(super) async fn require_cn_layer( state: Arc<AppState>, req: Request<Body>, next: Next, ) -> Result<Response, StatusCode>