I have had luck using the trial IE addon http://www.iewatch.com/ to view what the browser sends when loading a page. Sometimes, that's the easiest way to find out the correct sockwrite messages to send.