fixup! router: Drain hook in the API.
cli, controller: Refactor drain stream to be a long-running http request.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>