Split out transition handlers. Previously, case statement for isConnectedAgent was matching everything and not allowing others to be considered. This prevented channels from being reestablished on reconnection
Corresponding test for 56b6af159fef662e9ecfe8af8e3aec5bba1477de
Merge pull request #6 from dkristian/development

Split out Connection transition handlers to fix Channel reconnection