Java implementation of the Wasp protocol