Added XMLHttpRequest 2 support to xhrInterception.js