Update websocket.py

fix:version 13