Lobby extension (network)

I’d like an extension that would make lobby-based multiplayer (think shooters like CS/the way you connect to GMOD server) easier to do. Of course there should be also some sort of “master server”/“server list provider”, either as application or php script that can be ran on a webserver.