URIUtils: add URI scheme sanity checking