inetpeer: add parameter net for inet_getpeer_v4,v6