added support for arbitrarily sized 'packets' via 'shmstream'