and use this in a few places.
Use Android's Base64 implementation when on Android, otherwise, when on Java7, use the existing one.