Changed client to use new http interface