added support for IPv6 anonymous users

Change-Id: I2af5ef6d84b7cf98d3fcfcbe8391dcbd976f51b5
Merge "added support for IPv6 anonymous users" into gsoc