Move HeaderMap <=> NameValueCollection out of HeaderMap

These are not related to HeaderMap but specific to to the server,
and hence should not be part of the interface of HeaderMap.