1. local.py support new config file format.
2. fix some mistake in server.py

Signed-off-by: dannygod <dannygodii@gmail.com>