Add basic support for reading data back from a datagram.

**Grrr** templates... will cleanup later.