This refactors the newly added Snappy streaming back-ends trying to make them more similar and to reduce the code duplication to a minimum.