Validating IPv6 addresses

https://issues.liferay.com/browse/LRDOCS-494
https://issues.liferay.com/browse/LRDOCS-1279