Make Litehtml's curl writefunction add data directly to the GInputStream