Changed nsXMLHttpRequest to use NewChannel2 and AsyncOpen2