Reorganize flags
Make parse_uri() normalize scheme
Optimize scheme normalization a bit
Refactor buffer code for flexibility
Rename check_char() -> match()
Clean up unittests
Clean up unittests with new alias syntax
Change int -> size_t in a couple places in toString()
Clean up, refactor, optimize
Change comment
Remove unnecessary code
Make parse_uri() consume the source, add option to allow tail
Change comment, remove commented code
Move some code to a nested func for readability
Clean up a slice of mess
Little clean up
Fix test code
Remove useless line
Clean away useless assignment
Remove two more useless lines