https://github.com/Lawouach/WebSocket-for-Python/blob/961c07ce16ce4eedc34ca1fdacd29442870feccc/ws4py/client/__init__.py#L214 adding server_hostname in ssl_options returns an argument type error we have to switch to SSLContext.wrap_socket or ssl.SSLSocket