encodes utf8 string to base64.
string base64encode(string message)
base64encode("hello world") /* "aGVsbG8gd29ybGQ=" */