Normalize HTTP path (thanks to Justin Kirby)