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

Ran grunt test.
Did you mean .buffer here? :)