Solve the crash in sample project HelloPlugins.
Merge pull request #29 from natural-law/develop

Solve the crash in sample project HelloPlugins.
Solve the memory leak in the JNI methods of protocols.
Merge pull request #31 from natural-law/develop

Solve the memory leak in the JNI methods of protocols.
Merge remote-tracking branch 'source/develop' into develop