C protocol buffer packages updated to comply with latest ZHT; misc bug fixes