Base64 encode chunked data before dechunking