added sync interface and implemented half of it
added more functions to the sync engine
ported sync recv function
integrated the sync engine into main greyd
typo in poll sync fd handling