Added base64 functions for CGILua