Seeing that flush is always called after the write I wonder if in the frameWriter we should call writeAndFlush(...) directly ?