fixed text/event-stream encoding to no longer expect the event