value method
Convenience method for the value for a single valued header.
The value must not have more than one value.
Returns null if there is no header with the provided name.
Implementation
@override
String? value(String name) {
final values = _values[name.toLowerCase()];
if (values == null || values.isEmpty) return null;
return values.last;
}