Allow a local webapp to make XHRs, for testing