detect: Fixing lldp parsing code

On some lldp parsing, we have subheaders in subheaders. The existing
code didn't supported it and failed with a python exception.

This patch is insuring this kind of output is perfectly handled without
any regression.