Fixed client IP address retrieval. Added checks for client IP in tests.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop
Added setting client IP address when aggregating.