Implement ggvis.messages for handling server messages