Fix WebSocket support
Display thread ID in server logs