Added prototype for server sent events