Added setting client IP address when aggregating.