add direction trace attr to socket-level DataEvent (#283) (#287)