Add es package

Looking for some feedback on this approach to talking to ES.
I'm not sure it's worth returning the entire response here.
All we're interested in is the response status code, which
we could check here. I suggest returning an error only,
so we don't burden all the callers with checking the http
status and closing the body.