GBE-461: copy Base64 util-ish class from static-security