handle unconnected client cleanup, empty root config & use json::parse
- Use
json::parse(infile)instead of streaming operators. - Fix error in
MQTT::Publisherwhen deconstruction without an connection - Allow empty root topic without crashing
json::parse(infile) instead of streaming operators.MQTT::Publisher when deconstruction without an connection