Add better sent/recv debeug messages
Better error message for wrong content-type