This patch contains changes to remove the Platform C++ type and move all of
the code into conditionally compiled places in host.c.
It also folds in the previous patch to replace HostListener with C function
callbacks instead, and adds a second callback type for when the host wants
to update its status.