io.sockets.secure.openssl: guard against SSL_get_peer_certificate returning null