Add keep-alive interval and count options