procBuilder.addInterceptor(new ResponseContent());
procBuilder.addInterceptor(new ResponseConnControl());
DefaultHttpService service = new DefaultHttpService(
procBuilder, new DefaultConnectionReuseStrategy(),
new DefaultHttpResponseFactory(), null, null,
paramsBuilder.buildParams());
BasicCounter counter = new BasicCounter();
ServerSocket serversocket = new ServerSocket(8080);
thread = new WorkerThread(service, serversocket.accept(), paramsBuilder.buildParams(), counter);