Add feature: ability to extract a channel or private message from the server protocol.

Signed-off-by: The Craw <chinese.raundry@gmail.com>