Add retry logic to HTTP requests
Moved retry logic into delegate handler to fix corner cases
Added retry logging