There are some servers that don't send "Content-Length" line back. So I would need a buffer with "unlimited" size to receive that. But the only thing that acts like an "unlimited" buffer is a file. But I don't want to save the data to a file. Maybe there's an easy solution...