Override Host header when local-host is explicitly defined

When user sets `local-host` to `localhost` Host header should be transformed to `localhost`. In general - Host header should be transformed when `local-host` option is set.