Improve XHR detection
Merge pull request #69 from tildeio/fix_oasis_xhr

Improve XHR detection