allow overriding the xhr to use for reflectRedirectedUrl. Turboforms needs this
make some methods public so turboforms can use them