protected void handleProxyPost(HttpRequest request) {
        URL url = request.getUrl();
        Socket socket;
        InputStream remoteInputStream = null;
        OutputStream remoteOutputStream = null;
        try {
            int port = url.getPort();
            socket = new Socket(url.getHost(), port == -1 ? 80 : port);
            remoteInputStream = socket.getInputStream();
            remoteOutputStream = socket.getOutputStream();
            ioUtils.copyNoClose(setHttp10(request.getInputStream()), remoteOutputStream, request.getPostIndex() + request.getContentLength());
            ioUtils.copyNoClose(remoteInputStream, request.getOutputStream());
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            ioUtils.closeQuietly(remoteOutputStream);
            ioUtils.closeQuietly(remoteInputStream);
        }
    }