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