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);