一个关于使用twisted做websocket通信服务的方法 https://pawelmhm.github.io/python/websockets/2016/01/02/playing-with-websockets.html