A streaming API for sockjs