Added support for setting a request timeout

This patch adds support for setting a timeout when making requests to the Tumblr API.