tls_in_peercert & tls_in_peerdn fix for OpenSSL

Fixed $tls_in_peercert and $tls_in_peerdn variables unavailability when compiled with OpenSSL.