ProxyAddress.getDestinationHostname
string getDestinationHostname() nothrowGets proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.
Returns
the proxy's destination hostname