Add stats for socketstream