Added automatic mod switching to the server browser

as described in #4521.