Use configured hostname instead of getHostName, see #2997

* getHostName may trigger reverse name lookup
* use the configured hostname in all places
Merge pull request #1109 from akka/wip-2997-getHostName-patriknw

Use getHostAddress instead of getHostName, see #2997