client: Add a debug flag to print all irc communications
Fix a bug where PONG doesn't return data included in PING.

Add data param to PONG message, add logic to ping_handler.