Copy the entire string that you found in httplook to a file, lets name it cookie.txt, and put it in your main mIRC folder.
Then in your code put:
bread cookie.txt 0 $file(cookie.txt) &cookie
and then one of the headers you will be sending is like:
sockwrite -n $sockname Cookie: &cookie