code: private static String toJavaCipherSuitePrefix(String protocolVersion) {
          final char c;
          if (protocolVersion == null || protocolVersion.isEmpty()) {
              c = 0;
          } else {
              c = protocolVersion.charAt(0);
          }
  
          switch (c) {
              case 'T':
                  return "TLS";
              case 'S':
                  return "SSL";
              default:
                  return "UNKNOWN";
          }
      }
docs: Converts the protocol version string returned by {@link SSL#getVersion(long)} to protocol family string.