This reverts commit 8704634a8b. Requires newer elastic-transport, which breaks elastic-dsl.
8704634a8b