Add a timeout to HTTP queries.
Merge pull request #41 from klikh/http-timeout

Add a timeout to HTTP queries.