Default HTTP_HOST to localhost if not set