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.
Yeah, `client` is a poor choice of words.