Revert "send encoding in headers"

This reverts commit 34021d15bc02c8daec7db191a1d7a97800d0abaa.