Collapse writes and disable nagle's algorithm

- disable nagle's algorithm
- collapse writes to avoid sending small packets, where practical.

Note that get requests, the most common previously resulted in 2 writes followed by a read, which was a worse-case scenarios for default socket configs.

In addition to improving keep-alive handling, it's possible this will also reduce request latency.