added get_reader_by_pid method to client (untested :))