Node.js_snippets / sample - send and receive data from/to server