Write a message in simple WebSocket example.