fix websocket sha1 bug