pub fn format_host(host: &str) -> &str
Format a host string for display (e.g. “” or “127.0.0.1” -> “localhost (127.0.0.1)”).