adding check for non-empty option parameter at command-line parsing and config-file parsing
changing do_serve to instantiate less things when run in proxy mode - should stop proxy from crashing when the web ui is connected