Add C++ API prototype/skeleton.

Also skeleton implementation and experimental endpoint actor code.