Add validate_ip_address function

Checking code is based on the is_ip_address function. This patch
includes tests and README update.