Add header support for POST methods as well

@dbrady sorry, meant to get this in sooner before you merged. This one isn't as pretty (since the original method is more than one line it's slightly riskier long term), but, we needed it.