removed sse code
removed namespace
added example for socket.emit