Add SSL/TLS protocol selection debug code