Parse repo to use a custom version of XMLHttpRequest and avoid an internal memory leak