check hostname to detect loopback messages