lib: micro-optimize url.resolve()
Replace the call to Array#splice() with a faster open-coded version that creates less garbage.
Add a new benchmark to prove it. With the change applied, it scores about 5% higher and that is nothing to sneeze at.
R=@chrisdickinson