HTTP request retries added

In the case of a failed request, retries are made after an increasing
wait period. Currently, up to 3 attempts are made.
We're at version 0.9 now.
New unittests