That didn't work and I'm using

sockwrite -n $sockname GET %get HTTP/1.1

What should I use?