Datagram based protocols support.

Introduce a new function that maintains a properties required
for datagram based protocols.