Refactor interface addresses to use new socket_address struct