move to java.net.URI in pome, as it is 7 times faster than nodejs Uri class.