Update server ping stuff to be a proper class with exceptions, and combine it with pre 1.7 query for easier usage