Use endpoint.href instead of endpoint.path in the XHR transport to accommodate Firefox apps.