Just use that piece of code after you open your TCP Stream :
I use that with my Apache 1.3.27 server :p
WriteLine tcp,"GET /test.html HTTP/1.0" WriteLine tcp,"Host: www.mydomain.com" WriteLine tcp,"Connection: Close" ; ask the web serv to close after data sent WriteLine tcp,"" ; send an empty line to confirm the HTTP/1.0 query
I use that with my Apache 1.3.27 server :p