Bind receive handler result to Agent r.
Implement reception of messages.