Retry handler that tries ten times to establish connection and then once
established, if a GET method, tries ten times to get response (If POST,
it tries once only).
Its unsafe retrying POSTs.
Version of protocol socket factory that tries to get IP from heritrix IP
cache -- if its been set into the HttpConnectionParameters.
Copied the guts of DefaultProtocolSocketFactory.