added timeout for HTTPConnection
Merge pull request #1 from enkidulan/patch-1

added timeout for HTTPConnection