You should be able to extract these values out of the payload so you can avoid setting them in the headers, I think.