[TS-3211] Add support for modifying the SCHEME via header_rewrite