Handle CTCP VERSION queries