getting exception while making a cacheable proxy http server