Add 'timeout' parameter to Connection constructor

Fixes issue 15.