Introduce Remote.IsValidUrl.

>Yeah, but what if someone wants to manually compile binaries and does it with different options?

The tests reflect what is actually exercised and supported, considering a very specific version of libgit2, compiled through a very specific set of options.

If the user is willing to manually compile with different options, I see no reason to tweak the tests to cope with that.