server sets up match and sends :welcome message.client handles messages from server.