Introduce Remote.IsValidUrl.

Shouldn't we also check that this url is **[supported](https://github.com/libgit2/libgit2/blob/272b462db7cfb50c1ab69e1edda214b21f242ae5/src/transport.c#L201-L219)**?