XHR-polling send improvements.