Implement a way to enable/disable the network participant role
(From legacy/trac#28335 (moved))
Make it so "that active network participant" will turn off after either a long time without client usage, or when the controller tells it to.
We want this to be remembered also across restarts.
This new role will come from legacy/trac#28336 (moved).