tentative on porting encoding-compression to 3.3.2
more attempt to port compression and encoding 3.3.2