Changed: Replaced Android base64-encoder with an external one (doesn't need API level 8).