Changed CipherCodec to support packets of any size.