private void initConnection() throws IOException {
		objectOutputStream = new ObjectOutputStream(echoSocket.getOutputStream());
		objectInputStream = new ObjectInputStream(echoSocket.getInputStream());

		ChatEvent chatEvent;

		setRunning(true);
		try {
			getObjectOutputStream().reset();
			getObjectOutputStream().writeObject(new ChatEvent(getNetworkHandler().getController().getUser(), null, Receipient.SERVER, getNetworkHandler().getController().getUser().getUsername() + " says hi!"));
			while (isRunning() && ((chatEvent = (ChatEvent) objectInputStream.readObject()) != null)) {
				getNetworkHandler().fireNetworkEvent(new NetworkEvent(NetworkEvents.CHAT_EVENT, chatEvent));
			}
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}