Move ping out of main loop, CTCP VERSION responder