Add es package

Looking for some feedback on this approach to talking to ES.
Consider including the body of the error here rather than just the status code,
depending on what it looks like. At the least we could include resp.Status, which
is a bit more friendly than a decimal number.