Now messages are sent and received correctly.