Sorry, I left out the data streaming in the last posting.
What I meant to write was:
// Client side:
Socket s = new Socket(host, port);
OutputStream os = s.getOutputStream();
DataOutputStream dos = new DataOutputStream(os);
dos.writeBytes("GET /proxy HTTP/1.0\r\n\r\n");
dos.writeBytes(data); // <== Fairly vital part...
dos.flush();
...
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************