new pathRebase(). Paths support queries and fragments.