Add the ability to retry an http request

A continuation of #13 which adds `retry`() to the request instance.