Add two new features about cookie and configuration of connection timeout.

1. Connection timeout settings : allows users to configure the connection timeout.
2. Cookie handling : allows users to control cookies by NSURLConnection API.