Thanks for the extensive test case.
I fixed the problem in Gauche. Now it passes all the tests.
(I commented out read-byte, write-byte, peek-byte and byte-ready?
definitions in srfi-56.scm, for they are supported natively).
--shiro