Add Weechat support

Signed-off-by: Sam Xiao <sam.xs.xiao@gmail.com>