Tidy up.
Tidy up.
Add bstr_char_at_end().
Tidy up.
Add bstr_util_mem_trim().
Test for bstr_util_mem_trim().
Improve hostname parsing, add flags, add tests.
Do not erase flags when parsing hostname and port.