A cookbook for mosquitto, a MQTT server.