Tcp client/server library for networks lab