Working version of mosquitto bindings and wrapper class.