First version that sends flights to a simple socket server