Fixes #44 - correctly handle setting the right content-type for signing a compressed payload