Fake XHR: set status before readyState HEADERS_RECEIVED
Merge pull request #391 from alfyboza/fake-xhr-readystate

Fake XHR: set status before readyState HEADERS_RECEIVED