Bugfix: Initialize a new datagram instead of a shared ptr.