Chunked HTTP with Ajax and Scala