LZSS encoding with octet alignment (flags byte followed by body bytes)