add option to select AGS server version when root /arcgis/rest/services?f=json is inaccessible, fixes #29