Use https://github.com/bblimke/webmock to refactor and add more tests to the Http client in Facter
rewrite existing tests + add tests for new cases(timeouts. etc)