WIP: Adding logstash plugin for Blueflood

How are error codes handled by the agent? Are they thrown as exceptions or do we need to handle them specially?