The readBuffer is now only cleared for not secured sessions