New param NETWORK_HOSTNAME can override hostname of local machine. #4570

If NETWORK_HOSTNAME is set in the config file, then we use that value as
the hostname of the local machine, rather than calling gethostname().
Docs for new config param NETWORK_HOSTNAME. #4570