Fixes bug 1114552 - Added Query service to es module.

@phrawzty r?
As above, what about `TransportError` being potentially transient?