code: public static URI getClientIpFromRequest(final HttpServletRequest request,
              final HawkbitSecurityProperties securityProperties) {
  
          return getClientIpFromRequest(request, securityProperties.getClients().getRemoteIpHeader(),
                  securityProperties.getClients().isTrackRemoteIp());
      }
docs: Retrieves the string based IP address from a given
  {@link HttpServletRequest} by either the
  {@link HttpHeaders#X_FORWARDED_FOR} or by the
  {@link HttpServletRequest#getRemoteAddr()} methods.
  
  @param request
  the {@link HttpServletRequest} to determine the IP address
  where this request has been sent from
  @param securityProperties
  hawkBit security properties.
  @return the {@link URI} based IP address from the client which sent the
  request