Code monkey the protocol together

 Signal handler should call callback_decode with the bot. This will iterate
 through the bot's linked list of functions calling each one with a correctly
 cast void pointer. This is a very large switch case. You're welcome.