Added endpoint introspection caching and fixed minor issues while instantiating a Client with an invalid version