Fix for internal uri of WebSocket class as a server