I can see chunked output as it arrives with:
curl http://asia.dabase.com:4000
However when I try loop and work with it like so:
curl -s http://asia.dabase.com:4000 | while read line; do echo $line; done
It doesn't print anything. :(
A previous answer suggests CURLOPT_WRITEFUNCTION, though I don't see how that's done from curl's manpage.