public boolean send(String line) {
		try {
			out.write(line +"\r\n");
			out.flush();
			if (regLevel == 1) { // not registered
				Message m = p.parse(new StringBuffer(line));
				if (m.getCommand().equalsIgnoreCase("NICK"))
					nick = m.getParams()[0].trim();
			}
			return true;
		} catch (Exception exc) {
			exc.printStackTrace();
			return false;
		}
	}