Minor changes
For -xxxx, print out the parsed sections of "unlang"

So that we can see exactly what's been parsed, and what it has
been turned into
Remove unused functions
Fix issues found by cppcheck
We don't need a function in src/main for only one caller
Check correct entry
Leave input variable alone for debugging
SSL_CTX_new may return NULL
Fix duplicate condition in if/elseif.  found by cppcheck
Remove unused functions
Re-add function.

Apparently a bunch of things are used in master, but not
in v3.0.x
Remove unused functions for tcp
Remove unused functions for rbtree
Reduce scope of variable to where it's used
Set vp->length correctly.
Remove redundant check
attr lengths are never less than zero
Minor formatting to help unconfuse cppcheck
Reduce scope of variable, and make it signed
Move assignment so we don't over-write an unused value