Use native IP structs, not custom, fix issues in plugin and helper app.