some progress in rpc server/client, http helper recoded