Create a custom RestClient to configure timeouts.

This allows us to wait longer for elasticsearch responses, which should
lead to fewer 500 errors when searches time out.