trace incoming and outgoing alerts
unbreak tests by providing hexdump_to_str
Merge pull request #133 from mirleft/more-fixes

More fixes