added allowed_clock_drift as an option, default value of 0