A few random fixes that I spotted
Basic CTCP support

Fixes #22