FIX: workaround for bad Transfer-Encoding header