Rewrite headers for proxy request