title: Apache HttpComponents HttpClient timeout
body: <p>How do I set the connection timeout in httpcomponents httpclient? I have found the documentation at: <a href="http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html" rel="noreferrer">http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html</a> but it is not clear how these parameters are actually set.</p>
  
  <p>Also, an explanation of the difference between <code>SO_TIMEOUT</code> and <code>CONNECTION_TIMEOUT</code> would be helpful.</p>