I'm quite sure I already posted.. but there's no comment.

Using HTTP/1.0 didn't work either, sorry I didn't say that in the first comment. I do have it solved: using the -f switch in the sockread command and looping until $sockbr reaches zero did the trick. Using only the -f switch, or just what Nequada said has no different effect, only when used in combination. Now I do have it solved, I'd still like to know why I have to use this combination. Any logical explanations (not "I guess..."?