FIX: allow CURLOPT_CONNECTTIMEOUT to be configured.

Patch to allow developers to override the connection timeout value. 

Ideally in 3.2 RestfulService could be replaced with Guzzle for consuming web services.