Customize IP address detection for web applications