c++ chat server which uses libmicrohttpd and mysql