Add a cache funtion into Heat API
Add an http and url util function