complete blocking websocket client