Support upload and control through lewei gateway
Merge remote-tracking branch 'mikeqin/master'