Use env['SERVER_NAME'] instead of HTTP_HOST for event host

so it uses the server hostname, not the http hostname
forwarded by the load balancer.