fix for server to pass ip address from proxy