add ttl into rawmsg
up
handle some error cases in RPC
Merge branch 'master' of https://github.com/chenyf/push