Server component for websocket demo