Added a timeout to the HttpTransport so it never blocks indefinitely.
Merge pull request #4 from bbeck/master

Add timeouts to HttpTransport so we don't block indefinitely.