added simple WebSocket interface