add get server opt function,change $server->set to $server->setopt, update examples and wiki

add get server opt function,change $server->set to $server->setopt, update examples and wiki

you can both use $server->setting and $server->getopt() to get runtime options