Revert "server: fix 0.8.x support"

This reverts commit 8bd6db65f09a5eac44921be71e92d4aacc9f7d7f.
server: proper handling of chunked writes
1.10.4