public void setUserAgent(String ua) {
        userAgent = ua;
    }
Sets the timeouts of the HTTP client.

@param connectionTimeout
           timeout until connection established in milliseconds. Zero
           means no timeout.
@param socketTimeout
           timeout for waiting for data in milliseconds. Zero means no
           timeout.
@param maxRequests
           maximum number of connections to a particular host
src/nu/validator/xml/PrudentHttpEntityResolver.java