Cherry-pick from parent project main branch some open Pull Requests:
Android
- silkimen#501 catch unanticipated EOFException, by @customautosys
- silkimen#510 stop adding unnecessary new lines into base64 response string, by @chuchuva
iOS
- silkimen#520 prevent "No Space Left on Device" error, by @IcoDeveloper