CoAP - Node.js style