Fix Bug 899724 - Fix error handling for the node XHR strategy

https://bugzilla.mozilla.org/show_bug.cgi?id=899724