Add a configuration parameter to set the read timeout in sockets before
reading data from them.
added connectTimeout as well

Together with the commit by @flozano this addresses issues #120 and #42
changed version for fork
Merge pull request #146 from EliteMedianet/master

added readTimeout and connectTimeout