Add support for ConnectTimeout and BatchMode

As requested by Daniele Grigori, from CNAF.
Merge pull request #219 from piojo/ssh-keys

Add support for ConnectTimeout and BatchMode