Should use Transport.request which already returns a promise. We want to remove Transport.xhr in the future.