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