used libgdx base64coder instead of sun.misc.encoders