Improve [proxy support]: correct work when ES is on behind proxy (nginx for example)
Merge pull request #5 from Gasillo/es_proxy_behind

Improve [proxy support]: correct work when ES is on behind proxy (nginx)