public RegistryWorker(Socket socket, RegistryServer regServer) {
		try {
			this.in = new ObjectInputStream(socket.getInputStream());
			this.out = new ObjectOutputStream(socket.getOutputStream());
			this.regServer = regServer;
		} catch (IOException e) {
			System.out.println("Registry Worker: fail to create socket");
		}
	}