ssl: improve debug message formatting