HttpContext httpContext = new HttpContext();
httpContext.setContextPath("/");
ProxyHandler proxy = new ProxyHandler(true);
proxy.useCyberVillains = false;
httpContext.addHandler(proxy);
server.addContext(httpContext);
SocketListener listener = new SocketListener();
listener.setPort(4444);
server.addListener(listener);
server.start();
}