Check if a URL is safe to connect to (non-throwing version).
URL to check
Optional
Allow http:// scheme (default: false)
Allow private IPs (default: false)
true if URL is safe, false otherwise
Check if a URL is safe to connect to (non-throwing version).