Or even simpler would be using Quixe with its option to autolink URLs. But then you have to output the URL in full. And it wouldn’t be within the game.
I have thought before that a rather simple Glk extension would be a function that opens a URL in the default browser (same browser for a web app, OS browser for a desktop app).