Split IP into four separate parts, with validation