public void run(){
		boolean running = true;
		while (running){
			String line = null;
			try {
				line = stream.readLine();
				if (line == null)
					running = false;
				else {
					System.out.println(line);
					
					IRCMessage mesg = InputParser.parse(line);
					if (mesg.getResponse() != IRCCommand.NONE){
						parent.respond(mesg.getResponse());
					} else {
						//TODO: Handle normal cases
					}
					
				}
			} catch (IOException e) {
				//TODO: Handle this
			} 
		}
	}