Add support for standard CTCP events

Add support for ctcp_ping, ctcp_time and ctcp_version.