When using the lobby, after constructing `CNetServer` the public IP has to be queried. The consructor knows whether the lobby is used, so do it in the constructor.