add configuration for connection timeout.
Allows users to control cookies by NSURLConnection API.