1, fix check config with trailing or prepending blank spaces
2, use server host:port as key of server array instead of number
indexes. result in much simpler code and less buggy, for example fail
to delete/add server entries, server entries auto added after page
fresh...other repeated configs could use same strategy to simply the
code and less buggy