Added option to start httpd in foreground