parse channel messages content in a separate function
fix fix fix: RTFM
move the ping check on a standalone sub - reduced reconnect delay
changed style to message logging
keep pinging only when necessary - do not flood the logs
trivial fixes - am debugging