added appserver and appclient C++ UDT equivalents

This should help aid debugging performance issue in issue #21 vs the C++ equivalent which is in order of magnetite faster than the Java version.