Update protocol version code to be more intelligent.
Add comments in default configuration file, explaining how to config it.