Fix proxy address and add fqdn to the hostname