Querying thread statistics from MSI

Given a thread name, or an INDEX value from msiTocEntry, use msiGetStatSample to get a statistics sample for a particular thread.

For example:

Input: msiGetStatSample conn_0