test: Increase the job event wait timeout to 60s

Signed-off-by: Lewis Marshall <lewis@lmars.net>
controller: Don't sendKeepAlive until listening

This avoids a race where the client receives the response header,
assumes the controller is listening for events and triggers something.

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Make streaming output optional

Signed-off-by: Lewis Marshall <lewis@lmars.net>