streamlined code for readability and fixed the HTTP bug
clarified the effect of not supplying a SERVER_DOMAIN configuration parameter
increment version number