discontinued version, moved to Californium-based Java client