Split NetworkMode.SERVER into LISTEN_SERVER and DEDICATED_SERVER

Most follow-up changes are rather straight-forward
Added NetworkMode to NetworkSystem to be able to decide which mode to
enter.
Merge branch 'fix_1069' into jenkins