fixed memory leak during connection setup - bad curl opt `returntransfer`, therefore OB instead.
fixed memory leak during connection setup - bad curl opt `returntransfer`, therefore OB instead.

nervetattoo/elasticsearch,nervetattoo/elasticsearch