fixing etc hosts handling to avoid duplicates
Merge pull request #57 from elyast/master

fixing custom ip resolver
Closes #54.
Merge branch 'hotfix/1.3.0'