Connect to a node.js server and receive server-sent events