Fix #827: Implement java.net.URI

This and the v6 versions should be `final val`s if you want them to be constant-folded in `uriRe`.