Add option for connect timeout
Merge pull request #726 from dougwilson/feature/connect-timeout

Add option for connect timeout