School project : implementing TCP on top of UDP