Use the incoming EmptyQueryMessage as error instead of a separate error object.
Better error handling; differentiate between expected errors, and unexpected errors that bring the connection in a non-deterministic state.
Reset the connection whenever an IO related error occurs.
Godoc and small tweaks.
Add an interface for the different error response messages.
go fmt
Merge pull request #4 from wvanbergen/error_handling

Error handling improvements