Modified some part (Step 1 and 2) of 'WebSocket Server'