Detect the server to notify a bit more smartly