session->setTraceHandler( [](std::string text) {std::cout << "WAMP Trace: " << text << std::endl;} );