final HttpResponseFactory responseFactory, final HttpExpectationVerifier expectationVerifier,
final HttpParams params, final SSLContext sslcontext) {
super();
this.handlerRegistry = new HttpRequestHandlerRegistry();
this.workers = Collections.synchronizedSet(new HashSet<Worker>());
this.httpservice = new HttpService(proc != null ? proc : newProcessor(), reuseStrat != null ? reuseStrat
: newConnectionReuseStrategy(), responseFactory != null ? responseFactory : newHttpResponseFactory(),
handlerRegistry, expectationVerifier, params != null ? params : newDefaultParams());
this.sslcontext = sslcontext;
}