validate_ip() canonical IP form conversion and IP wildcard 0.0.0.0 handling