Allow setting the hostname, in case you are using a local relay.