code: public static URI getClientIpFromRequest(final HttpServletRequest request, final String forwardHeader) {
          return getClientIpFromRequest(request, forwardHeader, true);
      }
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 forwardHeader
  the header name containing the IP address e.g. forwarded by a
  proxy {@code x-forwarded-for}
  @return the {@link URI} based IP address from the client which sent the
  request