Fixed get IP address if forwarded multiple times