variable packets with 4096B - that must be enough!
some cleanups