Store Messaging Client config in file

The presence of this file is also used to determine if a node should run
in local client mode, or should contact a Broker.
OK, I can change this logic.