MQTT Remaining Length Encoder