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

Using evhttp_connection_set_retries() API.
Merge pull request #170 from azat/https-client-retries

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