implemented the network server part

The server can now wait for clients and answer stupidly...