public SlingConversation(SlingApplication app) {
this.app = app;
HttpUnitOptions.setScriptingEnabled(false);
JackConfiguration c = ((JackConnection)app.getConnection()).getConfiguration();
setAuthorization(c.getUser(), c.getPassword());
setUserAgent("cao");
IConfig proxy = app.getConfig().getConfig("proxy");
if (proxy != null) {
setProxyServer(proxy.getExtracted("host"), MCast.toint(proxy.getExtracted("port", "8080"),8080), proxy.getExtracted("user"), proxy.getExtracted("password"));
}