fix for full xhr streaming
socket only streaming works, socket close handler