C++ binding for Mongoose