New connection manager, work in progress.
Creating a callback invoked when a connection receives a message.