JNI wrapper for Toxcore