Parse uris without using regular expressions
Remove unreferenced binding
Reduce dispatch for percent-decode