Retrieve the last value for the given header name. If there are no
values present for that header, set the value to value and
return that instead. Note that None is the default for
value for backwards compatibility, but header values may only
be of type str.