C++ API: server on_connect and on_disconnect receive a server_client, not a client