Reordered the arguments to uri::resolve #38.