refinement: add apis to transform between sockaddr_in and vattr_addrv4