add PORT for IPC
update version, add --ios and --web options to run mode
little change
for iOS client