Fixed decoding problem

Mode flags seem to be attached to messages in (he)xchat. That caused
invalid padding for the base64 decoding and finally caused errors during
the decryption. This commit fixes that issue.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>