Query caching, error handling, proxy and HTTP auth