Provide a way to set connection timeout

... and set a reasonable default of 8 seconds.
Merge pull request #23 from keynslug/fix/conn_timeout

Provide a way to set connection timeout