Parse CTCP query contents properly.