fix renegotiation error under full duplex flow

similar to ssl3_read_bytes