String? extractHeaderStringValue(Map<String, String> headers, String name) { return headers[name] ?? headers[name.toLowerCase()]; }