TS-2226 Add support for a set-header operator.

This is an optimization over the old pattern of doing

     rm-header Foo
     add-header Foo "bar"

This also reorganizes the code a bit, to avoid so much
duplication.
TS-2228 Add a set-config operator

This will allow a header_rewrite config to modify any of
the overridable records.config settings.