an enhanced beego/httplib clone