Please move this metthod over getProxyHost().