Validator.php: relax validator for ip and netmask, accept value 0.0.0.0. Refs #1801