attr_reader for input/output stream in messager class