Add hooks to enable, or disable, fqdn_as_loopback and fqdn_as_ipaddress for various server configurations

There are environments with shifting hostnames, IP addresses, and DNS managed services where the FQDN *should not* be connected to the loopback address, and where the FQDN should or should not be listed with the main IP address in /etc/hosts. This updated patch provides the hooks to enable or disable those settings, as desired.

This is particularly invaluable for some "junit" environments, where the forced FQDN in 127.0.0.1 breaks remote access.