Added typedPayload() to CoapMessage to retrieve payload as encoded.

* CoapServer uses typedPayload() for its event hooks.