try :

sockwrite -n $sockname GET /users/inh/a.jpg HTTP/1.0
sockwrite $sockname Host: danger2you.com $+ $crlf $+ $crlf

HTTP/1.0 < Will Redirect