embed http server for monitor