OPC packet format implementation for node.js