Hardcoded 127.0.0.1 loopback address fixed, should fix https://github.com/salyh/elasticsearch-security-plugin/issues/3
Make it run with Elasticsearch 1.0.0 and higher, 1.1 also works