add sse.js, test completed
add some support for server sent events, but not tested yet