Iwillig/xhr

Removes all usages of the native `XMLHttpRequest` object and replaces it with the `xhr` library.