Add method to connbuf for querying the available bytes
Use new function in connector
Close fd when deinitializing the connector
Adjust the serializer interface to allow partial serialisation
Make action manager take a message, not a transaction
Add initial command processor interface and stubs
Add initialisation and deinitialisation
Add initial libev setup for the command processor
Add function for flushing messages from the serializer
Add implementation of flushing function
Add implementation of dispatching function
Merge pull request #255 from neithernut/add-command_processor

Add command processor