Add option to trust remote IP from proxy