Retry failed redirections when socket is recycled.

When an HTTP request fails, getResponse() attempts to retry once
if the socket was recycled from a previous request. This extends
that logic to retry failed redirects by marking the connection as
recycled.

http://code.google.com/p/android/issues/detail?id=41576

Change-Id: I5aea566a498e48d753d3893101d14cd4ab76db2b
2 files changed