add api of get and set event

/stream/get is server-sent events get api
/stream/set is server-sent events set api