creaded reader and writer for client side communication