First draft of a utility for working with URIs instead of java.net.URI, as the implementation class is broken