Basic XHR transport implementation