Newer versions of websocket change internal call, and we must follow. This is a consequence of the library providing no means to customize the TLS handling, so we have to dig in a little to get that customization.