Validate the IP address for IPv4 syntax, and add --max-time.
Allow alternative provider and show curl errors for env:ip