Parse urls and with Express-like url segments segments