bugfix: creating more than one External instance
enabling MQTT with the mosquitto library

TODO: Reset the MQTT connection when auth info changes. Maybe it's
finally time to implement a generic eventing class...