return sock.name to client, sock stored in a json obj, sock.name as key, implements json data as inner protocol