Implement feature to store messages to connection.
Remove printing of message used in development.
Implement feature to allow reading messages from a connection or from a channel.
Add parameter to connecting allowing higher-order function to allow logging of every message.