code: public void setProxy(String proxyhost, int proxyport) {
  		proxy = new java.net.Proxy(java.net.Proxy.Type.HTTP, new InetSocketAddress(proxyhost, proxyport));
  	}
docs: Set the proxy for this instance of Resty.
  Note, that the proxy settings will be carried over to Resty instances created by this instance only if you used
  new Resty(Option.proxy(...))!
  
  @param proxyhost name of the host
  @param proxyport port to be used