Use java.net.URL to parse URLs in org.locationtech.geogig.api.Remote