invert assert so it actualy checks for the correct flag
clear old message if reused for receiving
Merge pull request #29 from benjamg/feature/clear_recv_message

Allow reuse of message in receive, fixes #28