Separated mosquitto C bindings from the wrapper class.