code: @Override
      public String remoteAddress() {
          if (headers().containsKey(HeaderNames.X_FORWARD_FOR)) {
              return getHeader(HeaderNames.X_FORWARD_FOR);
          } else {
              return host();
          }
      }
docs: The client IP address.
  <p/>
  If the <code>X-Forwarded-For</code> header is present, then this method will return the value in that header
  if either the local address is 127.0.0.1, or if <code>trustxforwarded</code> is configured to be true in the
  application configuration file.