Updated syncscheduler to better cope with varying latency on TCP connections.
Inspired by: http://www.mine-control.com/zack/timesync.html