sample to example, and divided depending on the application.

Signed-off-by: godai_0519 <godai0519@gmail.com>
Fix critical bug in the handling of asynchronous chunk.

Signed-off-by: godai_0519 <godai0519@gmail.com>