Bugfixes for parsing server XML configuration