Allow an HTTP Agent to be passed in to manage socket pooling, instead of no socket pooling that is set now, and also instead of one global HTTP Agent for socket pooling of all xmlhttprequest instances as was used in the past