Sri | Fixing rewinding buffer when messageSize header should have be discarded