Create server-socket.c

first version server socket with some bad manage