title: How to set proxy in HtmlUnit using socketaddress?
body: <p>i need to know how to set proxy in HtmlUnit using socketaddress?
  i have tried with the following..</p>
  
  <pre><code>  System.setProperty("socksProxyHost", "myHOST");
    System.setProperty("socksProxyPort", "myPORT");
    WebClient wb = new WebClient();
    ProxyConfig pro = new ProxyConfig("172.22.218.218", 8085);
    pro.setSocksProxy(true);
    wb.setProxyConfig(pro);
    wb.setRedirectEnabled(true);
  </code></pre>
  
  <hr>
  
  <p>this is where i get error..!</p>
  
  <pre><code>HtmlPage p = (HtmlPage) wb.getPage("http://google.com/");
  </code></pre>
  
  <hr>