Updated elasticsearch.py url for local node stats

Compatible with Elasticsearch v0.90 and v1.0.