added get_client_ip for ips behind proxys for real ip