Just use a different transport implementation:
https://github.com/elasticsearch/elasticsearch-transport-war...