CLI and test support

Don't init the server if no HTTP server supplied