Fix draft76 websocket protocol; fix websocket demo for python 3.