Add validator for network configs. It's not bullet proof, but it's a start.