fix ping timeout option for darwin
Merge pull request #2732 from t4-ravenbird/darwin-ping

[fix] ping timeout option for darwin
Add URIUtils::HasExtension(..)