Add "local" custom log flag to control logging of connection state machine transitions for local connections.

Reviewer: @harshsin
CC: @rlane

Also suppress other logs for local connections.

Rich: FYI, in case you want to put in your two cents.