turned Reply.str into Reply.buf
added listbytes and the test for it