Prepare for a new query at ReadyForQuery

Handle ReadyForQuery(Z). When ReadyForQuery is received, then we
know that the series of responses ended and we expect to see new queries.
The requests and responses that are exported to ElasticSearch have
toExport message field set to true. Fixes #28.