refactor startup http server

auto-start unless only baseObject is provided, in that case wait for
start()