allow elasticsearch gem 1.0, quick monkeypatch for elasticsearch server 1.0
see elasticsearch/elasticsearch-ruby#43