protected void initializeHttpClient(HttpClient aaHTTPClient) {
        if (aaHTTPClient == null) {
            this.caHTTPClient = createHttpClient();
            setSocketTimeout(DEFAULT_SOCKET_TIMEOUT);
            setConnectionTimeout(DEFAULT_CONNECTION_TIMEOUT);
        } else {
            this.caHTTPClient = aaHTTPClient;
        }
    }