SSL_recv_char throws EoF instead of returning garbage