Removed unnecessary synchronization.
428232 - Rework batch mode / buffering in websocket.

Fixed missing notification of the FLUSH_FRAME.