I volunteer as a moderator on a forum and until recently I used a simple little socket script to automatically check for new posts. Now after an update to the site, it echoes "Your browser is outdated"

I'm guessing the offending line is

sockwrite -n $sockname User-Agent: compatible; MSIE 4.0; Windows NT 4.0

I tried changing 4.0 to 9.0.10 but that didn't work. Any ideas?