allows transformation to rewrite headers