Minor refactoring in XhrStream.
Minor refactoring in XhrStream.

Dador/libjass,Arnavion/libjass,Arnavion/libjass,Dador/libjass,joshuabrown-ellation/libjass,joshuabrown-ellation/libjass,joshuabrown-ellation/libjass,Dador/libjass,Arnavion/libjass