Added streaming support and refactored previous chunked encoding support

Both "simulated" chunking and real streaming are now handled in a consistent way, using Netty's `ChunkedWriteHandler`.