add {encode,decode}_base64(…) convenience functions