[WO-594] Added new method getHostname for wsShim that returns the hostname of the used proxy