cpp-prototype: replace license, minor style tweaks

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>