Send method changed to add in WebSocket