This will have a side-effect on the passed-in headers (if any).  Would be good to avoid modifying the original hash.