added readTimeout and connectTimeout 

Together with the commit by @flozano this addresses issues #120 and #42