With websocket >= 3.3, the extra_headers field maybe replaced by additional_headers. Need to limit the versions and update the parameters.