Some initial code that lets the sender and receiver interact.