Pin tool for logging socket communications to disk