WebSocket server/client in ANSI C