Pump to elastic 6.3.2 fail with error node available

I have latest tyk pump and elastic 6.3.2.
After configuring the pump to elastic

    "elasticsearch": {
      "name": "elasticsearch",
      "meta": {
        "index_name": "tyk_analytics",
        "elasticsearch_url": "localhost:9200",
        "enable_sniffing": false,
        "document_type": "tyk_analytics",
        "rolling_index": false,
        "extended_stats": false,
        "version": "5"
      }
    }

Startup logs:

Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="## Tyk Analytics Pump, v0.5.3 ##"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="-- No max batch size set, defaulting to 10MB"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="-- No max document size set, defaulting to 10MB"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=debug msg="MongoDB DB CS: mongodb://127.0.0.1/tyk_analytics"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=debug msg="MongoDB Col: tyk_analytics"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="Init Pump: MongoDB Pump"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=debug msg="MongoDB DB CS: mongodb://127.0.0.1/tyk_analytics"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="Init Pump: MongoDB Aggregate Pump"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="Elasticsearch URL: localhost:9200"
Aug 02 20:48:46 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:46" level=info msg="Elasticsearch Index: tyk_analytics"
Aug 02 20:48:51 tyk-trial.domain.com tyk-pump[33164]: time="Aug  2 20:48:51" level=error msg="Elasticsearch connection failed: no Elasticsearch node available"

testing elasticsearch

$ curl http://localhost:9200
{
  "name" : "mF1BLZy",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "wax4e47URsZQmHiazRQBIQ",
  "version" : {
    "number" : "6.3.2",
    "build_flavor" : "default",
    "build_type" : "rpm",
    "build_hash" : "053779d",
    "build_date" : "2018-07-20T05:20:23.451332Z",
    "build_snapshot" : false,
    "lucene_version" : "7.3.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

ES 6.0 contains lot of breaking changes compared to 5.0, and we need introduce separate support.

I created following PR Support ES6 by buger · Pull Request #78 · TykTechnologies/tyk-pump · GitHub, which introduce new “version”: 6 behavior, to support ES6

If you can test it, will be great.