Implemented PacketizeCRC which looks for the begin header and the endheader and discards those messages whose blocksize don't match with the logical size.