I want to send a message to server if I detect event on GPIO also the client should be able to recieve messages from server. I found this code on WebSocket client example that i