Implement the sender side of the protocol.
Please take also note of the comments below, especially the protocol specification, the advice to use two reviewers, and the description for testing the message exchange.