Updated Hapi template to honor the configured http listen option.

The Hapi template was hardcoded to `'localhost'` rather than using the configured `listen` property of the `http` configuration.