Fix log tail, add end event to SSE stream

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>