defined log variable in __init__ which is used later on

the ``log`` variable is used a little further down if an ``SSLError`` occurs