Add option to enable host header

In some environments (like in local dev), passing the host header is
needed to make sure the application works correctly.