code: public Proxy createSeleniumProxy() {
      return isEmpty(config.proxyHost())
        ? ClientUtil.createSeleniumProxy(proxy)
        : ClientUtil.createSeleniumProxy(proxy, inetAddressResolver.getInetAddressByName(config.proxyHost()));
    }
docs: Converts this proxy to a "selenium" proxy that can be used by webdriver