Add configuration options for API client timeouts

This test doesn't actually test the configuration. The proper place for a test for this change is a simple unit test in `config_spec.rb` to make sure we're setting the timeouts.