Update HTTP lib: Allow retrying request from response middleware