ndpi debug print reworked, minor changes and fix bug 439

git-svn-id: https://svn.ntop.org/svn/ntop/trunk/nDPI@7808 a02cd0c1-8e76-42e1-a119-56f9641475e2