Modified Step 6 of 'WebSocket Client'