code: public static String concatenateKeyValuePairs (final Collection<String> keyValuePairs) {
          final StringBuilder sb = new StringBuilder();
          for (String s : keyValuePairs) {
              sb.append(s);
              sb.append(TextKeyword.NULL_CHAR);
          }
          return sb.toString();
      }
docs: Concatenates the <i>key-value</i> pair elements from the specified {@link Collection} to a
  null-character-separated {@link String} that can be sent as a text parameter data segment.
  
  @param keyValuePairs a {@link Collection} of <i>key-value</i> pairs
  @return null-character-separated {@link String} containing all elements