decomp.c final version
NO MEMORY LEAK
TODO --> check the number of received bytes