[#1403] Send 500 on null headers

Strips out the body as well and log debug