fn remove_header( headers: &mut HashMap<String, String>, key: &str, removed: &mut HashSet<String>, ) -> Option<String>