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