>UnknownHostException</a>,
                           org.apache.commons.httpclient.ConnectTimeoutException</pre>
<div class="block">Attempts to get a new socket connection to the given host within the given
 time limit.
 <p>
 To circumvent the limitations of older JREs that do not support connect
 timeout a controller thread is executed. The controller thread attempts to
 create a new socket within the given limit of time. If socket constructor
 does not return until the timeout expires, the controller ter