Adds support for custom freegeoip host config

Adds test for freegeoip host configuration
Merge pull request #569 from jrumbut/master

Add support for freegeoip host configuration.