static Http::isValidURI ()
Checks that the given URI is a valid one.
Hardcoding the protocols, because we only want protocols that both cURL and php support.
todo: is wildly inaccurate and fails to actually check most stuff
as reported in the bugs list
https://doc.wikimedia.org/mediawiki-core/master/php/bug.html#_bug000002