thanks - the first part of the script is:
alias abctest { sockopen abctest abcnews.go.com 80 }
on 1:sockopen:abctest:{
sockwrite -n abctest GET /wire/world/index.html HTTP/1.0
sockwrite -n abctest Host: abcnews.go.com
sockwrite -n abctest Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
sockwrite -n abctest Accept-Language: en
sockwrite -n abctest Proxy-Connection: Close
sockwrite -n abctest User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
sockwrite -n abctest Pragma: no-cache
sockwrite abctest $crlf
}