Ugh we need to make sure we're connecting back to the same host for XHR otherwise it's a cross-domain request.