Change proxy based on ip address