Streaming rates sample using nodejs and socket.io