public ChatConnection(String address, int port) throws UnknownHostException, IOException {
        server = new Socket(address, port);
        oOut = new ObjectOutputStream(server.getOutputStream());
        oIn = new ObjectInputStream(server.getInputStream());
        self = new ChatPerson(uname);
        oOut.writeObject(self);
        oOut.writeObject(new ServerMessage(2));
    }