Handle resolv.conf with empty lines

If a resolv.conf had empty lines it would throw an exception.  Lets not
do that.
Merge pull request #1 from bruntonspall/master

I'm an idiot. Thanks @bruntonspall. Closes #1.