Please do not use XMLHttpRequest directly but use Tomahawk.asyncRequest which should support the same functionality but makes the resolvers more portable