<JAA>
sdomi: I continued playing with this, and I discovered that curl seems to buffer the incoming messages for some reason. If you run the above with the terminal as stdin, you don't see the server messages (001 etc.) for a long time. --no-buffer doesn't help. I can't reproduce it with a tiny Python test server, and it's not on the network side.
<JAA>
I'll take that to #curl as soon as I figure out a way to reproduce it without the IRC abuse. :-D
<JAA>
Turns out it's related to `-H Expect:`. I managed to reproduce it with 'normal' HTTP now.