Tweak debug statements

This patch does two things:
1. It moves the debug statement that shows the HTTP sub-protocols being
   compared after the string length calculation such that it shows the correct
   string length in the output
2. It adds some additional debug that displays when it matches on a
   sub-protocol and when it fails



git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@394701 f38db490-d61c-443f-a65b-d21fe96a405b