update buzz adapter to use curl. modify http client interface