private void changeHost (String hostAndPort) throws UnknownHostException, IOException {
		// Check the argument format
		StringTokenizer strTokens = new StringTokenizer(hostAndPort, ":");
		if(strTokens.countTokens() != 2) {
			throw new IllegalArgumentException("Host:Port string not acceptable");
		}
		
		// Read the host and port from arguments
		String host = strTokens.nextToken();
		int port = Integer.parseInt(strTokens.nextToken());
		
		// Instantiate the socket and objectStream
		this.socket = new Socket(host, port);
		this.objectToServer = new ObjectOutputStream(socket.getOutputStream());
		this.objectFromServer = new ObjectInputStream(socket.getInputStream());
		
		// Report success
		System.out.println("Client: Successfully connected to host '" + socket.getInetAddress()
				+ "' on port '" + socket.getPort() + "'");
	}