Making sure that writeAndFlush is used and not simple write where
approriate.