A Real-Time Server Based Approach For Safe And Timely Intersection Crossings