[mqtt] Working proof-of-concept implementation