Fix issue 58 -- crash on parsing invalid IP addresses containing '.'