Collected more notes and minor cleanup int type tweaks.
Moved `uri_get_scheme` to a separate file.
Removed some comment cruft.