set default server value in xml
if no host was previously set, get default host from XML file
better handling for the server host variable

Support both the http class attribute and the application wide
preferences data in a transparent way.