Request termination for XHR
Merge pull request #2656 from Manishearth/xhr-terminate

Request termination for XHR