continue developing socket iostreams

Signed-off-by: naazgull <pedro.figueiredo@gmail.com>