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.
The client file should only write the broker list after it's connected to a broker and receives the current list of brokers. The `urls` will just override whatever's in the client file for this one function call. It shouldn't write anything.