Add IP address format check