// store request/socket
int requestno = request.hashCode();
this.connections.put(new Integer(requestno), s);
// Send agent
HTTPGetterAgent agent = new HTTPGetterAgent(request);
agent.setRequestNumber(requestno);
agent.setName("http-" + requestno);
Container c = ContainerManager.getInstance().getContainer();
AgentInfo agentInfo = c.createAgentInfo();
agentInfo.setAgent(agent);
agentInfo.setAgentName(agent.getName());
agentInfo.setPackager(
PackagingManager.getInstance().getPackager(
"StateOnly"));
SecurityPolicyManager.getInstance().assignSecurityPolicy(
agentInfo);