implement Ccnet protocol (partially)