Basic saving and restoring of connections (by persisting all inbound
messages).
Extract response logic to separate method.
Moved storing and replaying of messages to ConnectionManager.