server: add announce flag to control ZeroConf behaviour

In the test suite it is a bit overkill to announce each and every server
over ZeroConf. Only do so in the zeroconf tests.