this.config = config;
this.requestOrigin = requestOrigin;
this.htmlParser = htmlParser;
rateLimit = new RateLimiter(config.getRequestsPerMinute());
cookieMatcher = new CookieMatcher(getClientDowncast());
httpContext = new SyncBasicHttpContext(null);
requestModifierList = new ArrayList<IHttpRequestModifier>();
requestEventManager = new EventListenerManager();
requestInProgressList = new ArrayList<HttpRequestTask>();
}