Client time sync

Implemented client-server time sync for the same purposes as server-server time sync - helps with debugging.