This stuff is in another branch.
Revamped Keys class, reduce keep alive rate.