Implemented uri::resolve.