node.js helper functions to interface with embedded networked devices through UDP