Add timeouts to the http client used by session.
Merge pull request #1 from Obvious/andrew-add-timeouts

Add timeouts to the http client used by session.