v1.1: partialfunctions, state is immutable, future for server_socket.accept, isConnected, clientIds in NetServer