Add a macro to access a connection statistic's value.

@sueloverso, could we do something like this and remove the need for the additional copy of the checkpoint values?