Added --version and kost's fix for /etc/resolv.conf empty lines parsing.