proto: add an option for specifying external addresses using proto_apply_ip_settings()