Implement some client-side functions of Qiniu CDN service in Haskell