Added some comments
make connection::read and write return bytes read/written
use bytes read/written in run_context.