added  helper constructor to socket_identity_cache