newton: review and rewrite peer expire mech.