* @param port the port for the proxy to communicate with
*/
public ProxyClient(String host, int port) {
if (Boolean.parseBoolean(System.getProperty("defaultProxySet"))) {
uriBase = "https://" + host + ":" + port;
apacheHttpClient = new ApacheHttpClient(true);
} else {
uriBase = "http://" + host + ":" + port;
apacheHttpClient = new ApacheHttpClient(false);
}
}