Handles HTTP requests by using XMLHTTPRequest or ActiveX for IE.