Adds a second attempt to send the HTTP request in case of a network failure
Adds a retry procees
Returns the response
Refactors the retry to be less generic and more clear
Adds missing http
Renames index to attemps for readability
Fixes a typo
Merge pull request #2 from danevron/http-request-retry

Adds a second attempt to send the HTTP request in case of a network fail...