fixes #123 - ElasticSearch v1.0.0b2 support