MCSrvStat query responses do not include ping or latency information. To provide a better user experience, we can calculate ping locally by performing a lightweight TCP connection test using java.net.Socket.
The measured latency should be added to the query result and displayed alongside the other server data in the UI.