Added server ping support to fix NAT and some other network issues by yvg1900