added tests for canceled messages in messenger
fixed tests in wiresendinputstreamtest
fixed bugs with header length/overhead in packetformat

refactor for clarity in messenger

added in "expire canceled messages" functionality