Changed message structure for event notifications

The change simplifies the event structure and allows for easier access of the message parts.

The new message structure consists of 2 frames.
The first containing the binary parts the second the endpoint as string.
The first frame has the following content:
  16 bit event id
  32 bit value
No padding in the message.