slave key and value encoding must also be explicit. plus key mangling test

This solve a problem very similar to #15 but on the slave stream instead of the master stream. This has the strange symptom of causing data to randomly disappear.