Implement feature to allow library to store state of channels that have been joined.
Implement handling of JOIN reply.