[48710073,48642039] fix pushing empty message and validate regid
Merge pull request #9 from easeway/validate-regid

[48710073,48642039] fix pushing empty message and validate regid