Modified Step 3 of 'WebSocket Client'