working handling of setting client ip and anonymizing etc