The middleware could use a configuration option to control the value and default to HTTP_HOST if it is not set.
The middleware could use a configuration option to control the value and default to HTTP_HOST if it is not set.