MDL-42071 caching Validate setservers correctly for php pre 5.5