Change the network chart unit to byte.

This is temporary.
Add error check in TcpChannel.
Add unittest for rpc.TcpChannel
Add unittest for rpc.TcpChannel failure cases