Add sharedKeyHash to socket controller for encryption