Changes in version 1.4: Define constants 'header_size' and 'trailer_size' instead of using 6 and 20. (Lzd is supposed to be educational, and using numbers is bad practice).