Network: don't allow '.' in network names (Closes #874)

This closes #874.