Determine if a host is a localhost