Add responseText and status code support to XHR