code: private String createUserAgentMarkerString(final String marker, String userAgent) {
          return marker.contains(userAgent) ? marker : marker + " " + userAgent;
      }
docs: Appends the given client marker string to the existing one and returns it.