support base64 encode and decode for UTF8

Connecting IRC server and send/recv Chinese has problem. It's not support UTF8 encode / decode in the Base64 class.