OutputStreamWriter osr;
    public HttpConnection(Socket client_socket, HttpServer server) {        client = client_socket;        this.server = server;        InputStreamReader isr;        OutputStreamWriter osr;        try {            isr = new InputStreamReader(client.getInputStream());            in = new BufferedReader(isr);            out = client.getOutputStream();            //              osr = new OutputStreamWriter(client.getOutputStream());            //              out = new BufferedWriter(osr);        } catch (IOException e) {            try {                close();            } catch (IOException e2) {                ;            }            System.err.println("Exception while getting socket streams: " + e);            return;        }        this.start();    }