This is actually two different functions merged into one. We should just have a separate function for the http(s) check if that's something useful.

Very odd that "validate URL" fails on valid urls by default.