code style
extracted the logic of adding messages to MessageExchange from
ResponseReceiver.