url-helpers: Improvements to `url_parse()` for lower stack usage.

It now uses a structure instead a crapload of pointer arguments.