[daemon] add http-api