MQTT cleanup.
Telnet refactoring.