java library for the nstrct protocol