proxyHost = PropertyExpander.expandProperties( context, settings.getString( ProxySettings.HOST, "" ) );
if( proxyPort == null )
proxyPort = PropertyExpander.expandProperties( context, settings.getString( ProxySettings.PORT, "" ) );
proxyConf.setProxy( ServerType.HTTP, new ProxyServer( proxyHost, Integer.parseInt( proxyPort ) ) );
// check excludes
proxyConf.setExceptions( PropertyExpander.expandProperties( context,
settings.getString( ProxySettings.EXCLUDES, "" ) ) );
}
else