Only write into the TestSignals channel when it exists.

Because the channel is blocking, if no one reads from it, the
goroutine gets locked. This was only used in unit tests, so no one
was reading from it in production. Fixes #26.
New build
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.
Spelling mistake
Improved the way of getting local addresses
Adding custom IsLookback function back.
Disable standard logging by default.

Elasticgo seems to be particularly chatty on Linux, so disable
the standard logger by ignoring its output. It can be enabled back
from the CLI by adding -d "stdlog".
ignore swap files
Add missing return on invalid data offset. Fixes #30
New build
Merge pull request #29 from pradeepchhetri/master

Changed the way of finding local addresses.
Cleaned a bit more getting the local IP addresses.

Follow up on #29.
Export agent info to ES

Agent is set with the name of the packetbeat agent that publishes
the transaction.
Set status for mysql transactions

Status is set to "OK" in case of a successful MySQL transaction.
Otherwise, it is set to the error message.
Set status field to OK/Error

The status field (that is published for each transaction) can
have only two values: OK or Error.
Use predefined states for status instead of string
Check packet length before saving it.

This is another go at the stacktrace from #30.
When replaying from file, don't set the filter
New build
wrong count