bagder, seems you didn't understand what I was trying to request in #1198 and closed the thread, so I will explain in other words.
I don't want curl to set headers for "--data-binary".
I'd like curl to send exact set of bytes to the server.
Technially it would be like:
If I add the option "--data-binary @largefile.zip!1073741823-2147483647"
then curl does:
open(F, "largefile.zip");
seek(F, SEEK_SET, 1073741823);
read(F, $buf, 2147483647-1073741823+1);
send(SOCKET, $buf)