public function dm_mqtt_url(host, topic, port) result(url)
Returns allocatable string of URL to MQTT server. Uses the URL API
of libcurl to create the URL. If port is 0, the default port
will be used. The topic must start with character /.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.