Revising configuration, removing clearly obsolete variables, and renaming some for consistency.
Some variables need to remove underscores, because those underscores are actually not really a good idea for HTTP headers. (Some servers block those values as keys, depending on config.)