make transfer rate logging optional per socket