finished protocol.cc and ptpd.cc, both compiles, did not test if working