Test added: cert verification via proxy

This revealed a minor bug, which is fixed in the second commit: You raised an `ssl.SSLError` instead of `urllib3.exceptions.SSLError`.