fixes #12: allow configuration of keep-alive
refs #10 creating / destroying of handlers onApplicationStart/Stop