Implement rate control class.
Update all timer usage to Socket.microTime().