fully compatible with perl encoder/decoder
allow to use multiple instances of the encoder/decoder in parallel

aka : no more static variable to keep track of created/encoded instances