Update network to handle server sockets