Return to the list-based implementation of WritableStream for saving

ability of resending data atomic.
Send error to the client properly, when error is occurred in event handler with @http
Merge branch 'fix_stream'