pub fn to_optimized(headers: HashMap<String, Vec<String>>) -> OptimizedHeaderMapExpand description
Convert standard headers to optimized format.
This is useful when receiving headers from external sources (JSON, gRPC) and converting them for internal processing.