TS-3188

Fixes for short posts over keep-alive connections.