https-client: add -retries argument, for connection retries

Using evhttp_connection_set_retries() API.