add read_some implementation

Signed-off-by: Jack <jack.wgm@gmail.com>