More comments on callbacks; add dummy get_port.
Improve error handling using API conventions.
Request C++14 mode support.