Parse and generate MQTT packets like a breeze in JS