Encoding binary as ArrayBuffer for android, because blob data is sent as empty payload