Timeout option

This will make RestClient's timeout configurable, instead of the hardcoded 31 seconds.