use real error class as fallback for BaseSSLError

If BaseSSLError is None, it is not a valid exception class and when evaluating
the try-except-block where all BaseSSLErrors are meant to be catched the python
interpreter blows up because of this.
Merge pull request #208 from t-8ch/base_ssl_error

Use real error class as fallback for BaseSSLError.