Sets the handler that is invoked for every incoming message.
The handler is invoked in the root-zone (Zone.ROOT).
void set handler(Function newHandler);