http: remove ctx arg for serveMachines