Fixed read_hook() and write_hook() over an SSH channel.