The config is passed through to the thread functions.
Passing by reference did not work, so pointers are used.
As there are other clients of TraceThread() which appear
non-trivial to migrate, a TraceThreadWithConfig has been
derived for wrapping those threads which currently use
the configadded to CConnman so that its member functions can access it.