MQTT: Switch to PAHO implementation, stop memory leak in mosquitto broker