Fixing ImportError when no ssl module

This allows import in Google App Engine, where no ssl module is
available.
removing redundant code
Merge pull request #114 from tzachyrm/master

Fixing ImportError when no ssl module