pub fn validate_payload_bytes( limit: &'static str, observed: usize, max: usize, message: &'static str, ) -> Result<()>