add pyopenssl to setup.py
fix imports
some pep8 validations