throw a descriptive exception when /etc/hosts is broken

Would be great to throw with a more descriptive message, when `/etc/hosts` is broken.