Make http server optional