private Client() {
        try {
            s = new Socket("localhost", 11111);
        } catch (UnknownHostException uhe) {
            // Server Host unreachable
            System.out.println("Unknown Host : localhost");
            s = null;
        } catch (IOException ioe) {
            // Cannot connect to port on given server host
            System.out
                    .println("Cant connect to server at 11111. Make sure it is running.");
            s = null;
        }

        if (s != null) {
            try {
                // Create the streams to send and receive information
                out = new ObjectOutputStream(s.getOutputStream());
                //in = new BufferedReader(new InputStreamReader(s.getInputStream()));
                in = new ObjectInputStream(s.getInputStream());

            } catch (IOException e) {
                System.out.println(e);
                s = null;
            }
        }
    }