/// Checks if the char `c` terminates the authority. (the host & the optional port)
///
/// # RFC 3986
/// The authority is terminated by the next '/', '?', or '#' char, or by the end of the URL.
/// <https://www.rfc-editor.org/rfc/rfc3986#section-3.2>