net: use kasprintf() for socket cache names