code: public HttpHost getProxy() {
          String host = Config.getProperty(Config.PROXY_HOST);
          String port = Config.getProperty(Config.PROXY_PORT);
          HttpHost proxy = null;
          if (StringUtils.hasText(host) && StringUtils.hasText(port)) {
              proxy = new HttpHost(host, Integer.parseInt(port));
          }
          return proxy;
      }
docs: Method to get proxy
  
  @return returns HttpHost