[PATCH v2 08/13] parse: Add helpers for parsing IP addresses