If wget on port 80 works, I don't know of any reason why curl couldn't as well, so I probably won't have any help but will ask one obvious question: your curl and wget examples use www.anydomain.com vs. www.somedomain.com - can you use curl to access the same 'somedomain' url that wget can? Ie. it's not simply that 'anydomain.com' has port 80 blocked, right?