NEW: allow arbitrary headers to be changed