Java wrapper around native C++ UDT protocol