Fix a BIO leak when verifying SSL certificates or calling get_peer_cert.
Merge pull request #403 from nelhage/ssl-leak

Fix a BIO leak when verifying SSL certificates or calling get_peer_cert.