fix contrib.pyopenssl on python3

On python3 import ndg.httpsclient will result in a syntax error.
always test PyOpenSSL on python2