network instanciation
change network creation method & socket creation