Fixes comments per @rwldrn. Makes sure failing requests from local protocol yields status 404, not 0.
Adds the abort on unload trick back in since IE9 still exhibits the bug