Implemented v0101 format (supports compressed headers)