Adds fuzzy matching of localhost to 127.0.0.1 host entries and vice versa.
Merge pull request #2872 from tima/fuzzy-match-localhost-127

Adds fuzzy matching of localhost to 127.0.0.1 host entries and vice versa