Server-sent events magic for pull-streams