code: protected  int getRequestPort(){
          String port = header("X-Forwarded-Port");
          return org.javalite.common.Util.blank(port)? port(): Integer.parseInt(port);
      }
docs: This method returns a port of a web server if this Java container is fronted by one, such that
  it sets a header <code>X-Forwarded-Port</code> on the request and forwards it to the Java container.
  If such header is not present, than the {@link #port()} method is used.
  
  @return port of web server request if <code>X-Forwarded-Port</code> header is found, otherwise port of the Java container.