Fix users being able to set <server:network> to an invalid value.
Merge pull request #580 from SaberUK/master+restrict-network-name

Fix users being able to set <server:network> to an invalid value.