upate embedding examples in C and C++

Show the usage of mg_get_request_info in the example.
Add everything to the C++ example already available in C