Replaced function calls to `curl_request` with Eson client
Replaced function calls to `curl_request` with Eson client

Asquera/elasticsearch-rake-tasks,ehealthafrica-ci/elasticsearch-rake-tasks,eHealthAfrica/elasticsearch-rake-tasks