Revert "fix socket timeout when couch does not send body"

This reverts commit 5c286ec63ed49aded9aa0b67674ac13d344eaa3b.
response to HEAD request never has content

this causes fgets to block and wait for data that will never come