1. fix keys cmd(use sys.stdout.write insteadof print)
2. add supervisor for proxy