Code:
  
on *:SOCKOPEN:web: { 
  sockwrite -n $sockname Authorization: Basic $encode(myid:mypass ,m)  
  sockwrite -n $sockname User-Agent: Mozilla
  sockwrite -n $sockname Host: www.somesite.com $+ $str($crlf ,2)
 sockwrite -n $sockname Connection: keep-alive
   sockwrite -n $sockname $crlf

}


the sockread return
Your browser sent a request that this server could not understand.