Added HTTP_X_FORWARDED_PORT
Changed serverurl to proxy