Context is now a pointer on the messages so it can be updated and we can track the number of messages written to the client; we can also flush the stream when writing multiple messages.