pub fn map_to_headers(map: &HashMap<String, Vec<String>>) -> HeaderMap
Convert our internal header format to HTTP HeaderMap