a simple http client support cookie