Handle malloc failures in BIO_accept