WebSocket Server implementation for Programmable Logic Controller