yiisoft/yii2 — pull request #5767 by Borales (2014-10-25 14:00:07+00:00)
Title: Elasticsearch auth enhancement

Adding auth support to use for connecting to an elasticsearch node.
Code taken from the official PHP-client for Elasticsearch (https://github.com/elasticsearch/elasticsearch-php/blob/master/src/Elasticsearch/Connections/CurlMultiConnection.php)