Allow setting a read timeout for HTTP requests.