Move off CTCP encoding and decoding into its own module