[core] reject Transfer-Encoding + Content-Length (#2985)