/sockwrite -n $sockname Host: $sock(shout).ip $+ : $sock(shout).port

According to RFC2616, that line is invalid. You are not supposed to specify the IP in the host header. And even if you could, it would be utterly pointless seeing as how the server already knows the IP you connected on. You are supposed to specify the HOST (not IP) that you connected to, ie, mirc.com not 209.240.130.48. Also, since you connected to port 80, specifying the port in the Host header is redundant since port 80 is assumed by default.