//! Request middleware for the client server.
//!
//! - [`pubky_host`]: Extracts the tenant public key from the request Host header (TLS SNI).
//! - [`rate_limiter`]: Configurable per-path request rate limiting, keyed by IP or user,
//! with optional per-user speed overrides resolved from DB.
//! - [`trace`]: Request/response logging via `tracing`.
//!
//! Authentication and authorization middleware live in [`crate::client_server::auth::middleware`].