Improve "CONNECT" code in net/http. (patch inclulded)
The net/http sends "CONNECT" request when communicate https server via proxy.
At this time, net/http calls "write" each request.
This is a fair but inefficient code because it increases the system call invocation and packet fragmentation potential.
It is better to send the requst in the bulk, likewise the other send request codes.
See also, the [ruby-list:48467] thread.