Support comments and empty lines in etc/hosts.

Fixes #10 and #9.