elasticsearch/elasticsearch-js — pull request #25 by jvonniedapn (2014-01-13 23:11:33+00:00)
Title: Fixes a bug that causes HTTPS to never be used.

Fixes a bug that causes HTTPS to never be used. Without using the HttpAgent version of KeepAliveAgent the connections always default to http instead of https, even when https is specified as the protocol.