Port binary MQTT 3.1.1 packet body decoding from Go mqtt.go (~lines 700–1500, 2200). MqttBinaryDecoder parses CONNECT (protocol name, connect flags, keepalive, client ID, will topic/message, username, password), PUBLISH (topic, packet ID for QoS>0, DUP/ RETAIN flags, application payload), and SUBSCRIBE (packet ID, topic-filter + QoS list). Adds TranslateFilterToNatsSubject for simple MQTT wildcard conversion (+ → *, # → >, / → .). All 27 tests in MqttBinaryParserTests pass.
18 KiB
18 KiB