make connection attempt timeout  an user setting
Merge pull request #22 from dtrinchet/master

make connection attempt timeout an user setting