Fix ssl import error in GAE

This avoids an `ImportError` when loading the SSL library in a Google App Engine dev environment.  For more details, see:
https://code.google.com/p/googleappengine/issues/detail?id=9246

This PR is a followup from an internal ticket.  I'll merge once the reporter has confirmed that this fixes the issue in his environment.