client: use httpAction interface
client: fix test
test: add client pkg