This check would pass if the user give `http://foo and bar` I believe. In other part of the SDK we use `URL` to check both the `scheme` and to validate the URL, we should do the same here.