XmlHttpRequestUtils callbacks implemented and tested