debug interface must implement decode_headers