pub fn is_loopback_host(host: &str) -> bool
Returns whether host is localhost or a loopback IP address.
host