Emit number of bytes received/sent and display in copypaste sample

Ran grunt test.
We should stick to the 80-char width limit, at least for the typescript files