Added test that verifies that the host header is correctly
overwritten by a user-provided value.