Implement ES proxy in charmstore

Implement elasticsearch proxy endpoint in charmstore. Will be useful
in an environment where elasticsearch is unreachable.

https://canonical.leankit.com/Boards/View/102529849/111347878

You've fixed  this the other  way now.